#include "SFC_Inc.hpp"
#include "Setup.h"
#include "SFC_WindowServer.h"

extern SFC_WindowServer *WindowManager;

int main(int argc, char **argv)
{
	std::cout << "start" << std::endl;

	chdir(__WORKPATH__);

	WindowManager = new SFC_WindowServer("SDL Foundation Class Project [" __SFC_VERSION__ "]", 720, 960);

	SFC_Window *win = new SFC_Window();
	win->Title = "SFC_Window";
	win->Size = {50, 150, 540, 500};
	win->TitleBarHgt = 50;
	win->Show();
	WindowManager->WaitExit();

	delete WindowManager;
	return 0;
}
